package com.lsh.oms.core.enums;

import lombok.Getter;

/**
 * Project Name: lsh-atp
 *
 * @author peter
 * on 19/1/10.
 * 北京链商电子商务有限公司
 * Package
 * desc:todo:该配置，如有变动，及时更改
 */
@Getter
public enum StraType {
    /**
     * 预售策略
     */
    STRA_PRE_SALE(1, "预售策略"),

    /**
     * 库存分配策略
     */
    STRA_INVENTORY_ASSIGN(2, "库存分配策略"),

    /**
     * 销售策略
     */
    STRA_SALE(3, "销售策略"),

    SPLIT_ORDER(4, "拆单策略"),
    /**
     * 订单下发策略
     */
    STRA_ORDER_COMMIT(5, "订单下发策略"),

    /**
     * 订单配送策略
     */
    STRA_DELIVERY(6, "订单配送策略"),

    /**
     * 库存锁定策略
     */
    STRA_INVENTORY_LOCK(9, "库存锁定策略");


    private Integer code;

    private String desc;

    StraType(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
